﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace demo.Entity
{
    public class WebSiteInfo
    {
        [Display(Name = "Id")]
        public int Id { get; set; }

        [Required]
        [Display(Name = "网站标题")]
        [StringLength(30)]
        public string Title { get; set; }

        [Display(Name = "网站logo")]
        [StringLength(500)]
        public string Logo { get; set; }

        [Required]
        [Display(Name = "网站域名")]
        [StringLength(30)]
        public string DomainName { get; set; }

        [Required]
        [Display(Name = "网站关键字")]
        [StringLength(500)]
        public string Keywords { get; set; }

        [Required]
        [Display(Name = "网站描述")]
        [StringLength(500)]
        public string Description { get; set; }

        [Required]
        [Display(Name = "联系人")]
        [StringLength(30)]
        public string Contact { get; set; }

        [Required]
        [Display(Name = "手机")]
        [StringLength(30)]
        public string MobilePhone { get; set; }

        [Required]
        [Display(Name = "电话")]
        [StringLength(30)]
        public string Phone { get; set; }

        [Required]
        [Display(Name = "QQ")]
        [StringLength(30)]
        public string QQ { get; set; }

        [Required]
        [Display(Name = "邮箱")]
        [StringLength(30)]
        public string Email { get; set; }

        [Required]
        [Display(Name = "地址")]
        [StringLength(30)]
        public string  Address{ get; set; } 
    }
}
